package info.u250.c2d.engine.transitions;

import com.badlogic.gdx.math.Vector3;
import info.u250.c2d.engine.Engine;

/**
 * the scene slide in from top
 *
 * @author xjjdog
 */
final class TransitionSceneSlideInTop extends AbstractTransitionSceneSlideIn {
    @Override
    Vector3 targetPositionOffset() {
        return Engine.getDefaultCamera().position.cpy().add(0, -Engine.getHeight(), 0);
    }

    @Override
    Vector3 orgiPosition() {
        return Engine.getDefaultCamera().position.cpy().set(Engine.getWidth() / 2, Engine.getHeight() / 2 + Engine.getHeight(), 0);
    }

}
